package bajo.src;

import nanuk.NanukApplication;
import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.ui.container.MainScreen;

public class LoadingScreen extends MainScreen {
	
	private String userID;
	public LoadingScreen(String userID){
		this.userID = userID;
		// TODO: show some loading image
		this.add(new LabelField("LOADING"));
	}
	
	public void load(){
		MainPage mainPage = new MainPage(userID);
//		NanukApplication.getUiApplication().popScreen(this);
		NanukApplication.getUiApplication().pushScreen(mainPage);
	}
	
}
